<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../../print.css" type="text/css" media="print">
<meta content="MaterialManager,org.papervision3d.core.render.material.MaterialManager,getInstance,registerMaterial,unRegisterMaterial,updateMaterialsAfterRender,updateMaterialsBeforeRender" name="keywords">
<title>org.papervision3d.core.render.material.MaterialManager</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'MaterialManager - Papervision3D 官方文档';
				var baseRef = '../../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Papervision3D 官方文档</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../package-summary.html">全部包</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../all-classes.html')" href="../../../../../class-summary.html">全部类</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../../index-list.html')" href="../../../../../all-index-A.html">引索</a>&nbsp;|&nbsp;<a href="../../../../../index.html?org/papervision3d/core/render/material/MaterialManager.html&amp;org/papervision3d/core/render/material/class-list.html" id="framesLink1">框架</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">无框架</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">类&nbsp;MaterialManager</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">方法</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("类 MaterialManager"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">包</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.papervision3d.core.render.material</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">类</td><td class="classSignature">public class MaterialManager</td>
</tr>
</table>
<p></p>
  <p></p>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">公共方法</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">方法</th><th colspan="2">定义方</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#MaterialManager()">MaterialManager</a>()</div>
<div class="summaryTableDescription">
   MaterialManager singleton constructor
   单独创建器</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getInstance()">getInstance</a>():<a href="../material/MaterialManager.html">MaterialManager</a>
</div>
<div class="summaryTableDescription">
  <p>[静态]
    Returns a singleton instance of the <code>MaterialManager</code>
  </p>
  <p>返回MaterialManager一个单独的实例</p>
</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#registerMaterial()">registerMaterial</a>(material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>):void</div>
<div class="summaryTableDescription">
  <p>[静态]
    Registers a material
  </p>
  <p>注册一个材质</p>
</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#unRegisterMaterial()">unRegisterMaterial</a>(material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>):void</div>
<div class="summaryTableDescription">
  <p>[静态]
    Unregisters a material
  </p>
  <p>取消注册</p>
</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updateMaterialsAfterRender()">updateMaterialsAfterRender</a>(renderSessionData:<a href="../data/RenderSessionData.html">RenderSessionData</a>):void</div>
<div class="summaryTableDescription">
   <p>Allows for materials that animate or change (e.g., MovieMaterial) to 
     be updated after the render </p>
   <p>允许材质的动态或改变在渲染后更新</p>
</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updateMaterialsBeforeRender()">updateMaterialsBeforeRender</a>(renderSessionData:<a href="../data/RenderSessionData.html">RenderSessionData</a>):void</div>
<div class="summaryTableDescription">
   <p>Allows for materials that animate or change (e.g., MovieMaterial) to 
     be updated prior to the render </p>
   <p>允许材质的动态或改变在渲染后更新</p>
</div>
</td><td class="summaryTableOwnerCol">MaterialManager</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">构造函数详细信息</div>
<a name="MaterialManager()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">MaterialManager</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">构造函数</td>
</tr>
</table>
<div class="detailBody">
<code>public function MaterialManager()</code><p>
   MaterialManager singleton constructor
   </p></div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">方法详细信息</div>
<a name="getInstance()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getInstance</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td>
</tr>
</table>
<div class="detailBody">
<code>public static function getInstance():<a href="../material/MaterialManager.html">MaterialManager</a></code><p>
   Returns a singleton instance of the <code>MaterialManager</code>
   </p><p></p>
<span class="label">返回</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../material/MaterialManager.html">MaterialManager</a></code></td>
</tr>
</table>
</div>
<a name="registerMaterial()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">registerMaterial</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function registerMaterial(material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>):void</code><p>
   Registers a material
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">material</span>:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a></code></td>
</tr>
</table>
</div>
<a name="unRegisterMaterial()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">unRegisterMaterial</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public static function unRegisterMaterial(material:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a>):void</code><p>
   Unregisters a material
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">material</span>:<a href="../../proto/MaterialObject3D.html">MaterialObject3D</a></code></td>
</tr>
</table>
</div>
<a name="updateMaterialsAfterRender()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updateMaterialsAfterRender</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updateMaterialsAfterRender(renderSessionData:<a href="../data/RenderSessionData.html">RenderSessionData</a>):void</code><p>
   Allows for materials that animate or change (e.g., MovieMaterial) to 
   be updated after the render
   
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">renderSessionData</span>:<a href="../data/RenderSessionData.html">RenderSessionData</a></code> &mdash;  the data used in updating the material
   </td>
</tr>
</table>
</div>
<a name="updateMaterialsBeforeRender()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updateMaterialsBeforeRender</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">方法</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updateMaterialsBeforeRender(renderSessionData:<a href="../data/RenderSessionData.html">RenderSessionData</a>):void</code><p>
   Allows for materials that animate or change (e.g., MovieMaterial) to 
   be updated prior to the render
   
   </p><span class="label">参数</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">renderSessionData</span>:<a href="../data/RenderSessionData.html">RenderSessionData</a></code> &mdash;  the data used in updating the material
   </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://blog.papervision3d.org</center>
</div>
</body>
</html>
<!--http://blog.papervision3d.org-->
